home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_0799 / 674 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.3 KB

  1. Date: Tue, 30 Nov 1993 10:25:40 -0800
  2. From: ersmith@netcom.com (Eric R. Smith)
  3. Message-Id: <199311301825.KAA18629@mail.netcom.com>
  4. To: haceaton@aplcomm.jhuapl.edu, mint@atari.archive.umich.edu
  5. Subject: Re:  reserved fields in stat structure
  6.  
  7. >The stat structure in the stat.h include files has some "reserved fields" i.e.
  8. >
  9. >...
  10. >        time_t  st_ctime;
  11. >        short   st_attr;
  12. >#ifdef __MINT__
  13. >        short   res1;           /* reserved for future kernel use */
  14. >        long    res2[2];
  15. >#endif
  16. >...
  17.  
  18. >Are these reserved for a known purpose at this time?  I'm interested in
  19. >using one of the long words to return data for the size of resource forks
  20. >of Macintosh files (for MacMiNT).  Is this reasonable?  How does one go
  21. >about getting the MiNT developers ok for such things?
  22.  
  23. Those fields haven't been assigned a specific use yet, but most likely
  24. they will end up encoding extra information about file times (since the
  25. current 2 second granularity really sucks).
  26.  
  27. I don't think we should use those fields for items like resource fork
  28. sizes that are only applicable to one type of file system (the Mac one).
  29. I think that for file system specific kinds of things, an Fcntl or
  30. Dcntl call is more appropriate.
  31.  
  32. (Sorry for the delay in responding, things have been *really* hectic
  33. here at work :-( ).
  34.  
  35. Regards,
  36. Eric
  37.  
  38.